package com.snail.mapper;

import com.snail.model.entity.Product;
import com.snail.model.pojo.Result;
import org.springframework.data.elasticsearch.annotations.Query;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @author cici
 * @description product的mapper层，程序demo，可删除
 * @date 2025/8/13 17:50
 */
public interface ProductRepository extends ElasticsearchRepository<Product, String> {

    List<Product> findByProductNameContaining(String keyword);


}
